import bcryptjs from "bcryptjs";
const encrypt = (pwd: string) => {
  return bcryptjs.hashSync(pwd, 10);
};
const comparecrypt = (pwd: string, saltpwd: string) => {
  return bcryptjs.compareSync(pwd, saltpwd);
};
export { encrypt, comparecrypt };
